<?php 
include_once 'login.php';
if(isset($_POST['mail']))
{
	$mail = $_POST['mail'];
	include_once 'db.php';
	openDB();
	selectDB("iaw_db");
	queryDB("DELETE FROM contactos WHERE mail='$mail'");
	header("Location: ./");
}
?>
